.header {
  line-height: 36px;
}
.content {
  display: flex;
  height: calc(100vh - 36px);
}
.nav {
 width: 30%;
 height: 100%;
 background-color: yellow;
}
.show {
  flex: 1;
  background-color: pink;
}